﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<title>购物车</title>

	<link href="../css/index.css" rel="stylesheet" type="text/css" />
	<link href="../css/register.css" rel="stylesheet" type="text/css" />

  </head>
  
  <body>
      <div id="hr-header">
			<div class="hr-header-content">  
				<div class="hr-topmenu">
				<%
					String username = (String)session.getAttribute("user");
					if(username == null){				
				 %>
					<span class="hr-m-login">
						<span id="hr-login-in" style="">
							<span><a href="../login.jsp">[登录]</a></span>
							<span><a href="../register.jsp">[注册]</a></span>
						</span>  
				<%}else{ %>  
						<span id="hr-login-out">
							<span><%=username %>,欢迎光临本商城</span>
							<span><a href="userhome.jsp">[会员中心]</a></span>
							<span><a href="../Logout">[退出登录]</a></span>
						</span>
				<%} %>
					</span>
					<span><a href="shoppingCart.jsp">购物车</a></span>
					<span><a href="#">积分换礼</a></span>
					<span><a href="#">帮助中心</a></span>
				</div>

				<div class="hr-mainmenu">
					<ul>
					   <li><a href="../index.jsp">首页</a></li>
					   <li><a href="#">虚拟物品</a></li>
					   <li><a href="#">电子产品</a></li>
					   <li><a href="#">服装鞋帽</a></li>
					   <li><a href="#/index.php?gOo=goods_search_list.dwt&amp;gtype=new">潮人地带</a></li>
					   <li><a href="#?gOo=goods_search_list.dwt&amp;gtype=hot">文体用品</a></li>
					   <li><a href="#" target="_blank">家居</a></li>
					   <li><a href="#?gOo=d_search.dwt">食品</a></li>
				   </ul>
				</div>
			</div>
		</div>
		<div firebugversion="1.5.4" style="display: none;" id="_firebugConsole"></div>
		
		<div id="hr-body">
		    <div class="hr-body-content">
			   <div class="iframe" style="padding: 10px;">
		            <div class="CartNavi"> <img src="../images/cartnavi-1.gif" alt="购物流程--查看购物车"></div>
					<form name="FORM_TPL_CARTLIST" id="FORM_TPL_CARTLIST" action="index.php" method="post" class="hr-cart-list">
						
						<div class="TableWrap">
					  		<ul class="tab clearfix">   
				    			<li>购买的商品</li>
				  			</ul> 
					  		<table class="list" summary="购物车信息" cellpadding="0" cellspacing="0" width="100%">
					    		<thead>
							    	<tr>
								        <th width="12%">图片</th>
								        <th width="10%">商品货号</th>
								        <th width="20%">商品名称</th>
								        <th width="12%">市场价格</th>
								        <th width="12%">亨瑞实价</th>
								        <th width="4%">数量</th>
								        <th width="9%">小计</th>
								        <th width="16%">操作</th>
							      	</tr>
					    		</thead>
					    		<tbody>
					      			<tr>
								        <td><img src="../goods-images/19464.jpg" alt="郁风(0.344ct)" border="0"></td>
								        <td>P1J0108103004</td>
								        <td><a href="http://www.hrzsw.com/product_19464.html" target="_blank">郁风(0.344ct)</a><br />手寸:9</td>
								        <td>￥11610.00</td>
								        <td>￥6450.00</td>
								        <td><input name="amount[0]" size="1" class="inputstyle" value="1" onchange="javascript: FORM_TPL_CARTLIST.submit();" type="text"></td>
								        <td>￥6450.00</td>
								        <td><span style="display: block;"><a href="http://www.hrzsw.com/index.php?gOo=removeshopcart.do&amp;cid=0&amp;dwtfile=cartlist.dwt"><img src="../images/b-delete.gif" alt="移除此商品"></a></span></td>
					        		 </tr>
					    		</tbody>
					  		</table>
					  		<p class="p9blackb textright">商品数量总计:<font color="#ff3300">1</font>&nbsp;&nbsp;&nbsp;
							商品金额总计:<font color="#ff3300">￥6450.00</font></p>
						</div>
						<div>
							<p class="p9blackb textright">
							<span style="" onclick="javascript:top.location.href='index.html';">
							<img src="../images/cart_c.gif"></span>&nbsp;&nbsp;
							<a href="javascript:%20toNext();">
							<img src="../images/cartnexta.gif" alt="下一步"></a> 
							<a style="display: none;" href="http://www.hrzsw.com/index.php?gOo=removeshopcart.do&amp;dwtfile=cartlist.dwt">
							<img src="../images/cart_q.gif" alt="清空购物车"></a></p>
						</div>
					</form>
					<script type="text/javascript">    
						<!--  
						function toNext()   
						{
							document.FORM_TPL_CARTLIST.nextmark.value = "1";
							document.FORM_TPL_CARTLIST.submit();
						}
						function toContinue()   
							{
								document.FORM_TPL_CARTLIST.nextmark.value = "2";
								document.FORM_TPL_CARTLIST.submit();
							}
						// -->
						</script>
				</div>
			</div>
		</div>
		
		<div id="hr-footer">
			<div class="hr-footer-content"> 
				<ul class="hr-f-link">
					<li>
						<a href="#"target="_blank">关于我们</a>
					</li>
					<li>
						<a href="#" target="_blank">联系我们</a>
					</li>
					<li>
						<a href="#" target="_blank">温馨提示</a>
					</li>
					<li>
						<a href="#" target="_blank">支付方式</a>
					</li>
					<li>
						<a href="#" target="_blank">产品政策</a>
					</li>
					<li>
						<a href="#" target="_blank">购物流程</a>
					</li>
					<li>
						<a href="#" target="_blank">网站地图</a>
					</li>
					<li>
						<a href="#" target="_blank">售后服务</a>
					</li>
					<li style="border: medium none;">
						<a href="#">特别条款</a>
					</li>
				</ul>

				<table style="margin-top: 10px; clear: left;" align="center" border="0" cellpadding="0" cellspacing="0" width="100%">
					<tbody>
						<tr>
							<td align="center">	Copyright 2009-2010 www.feeloc.cn<br />信息系统项目</td>
						</tr>
						<tr>
							<td align="center">feeloc博客 
								<a href="www.feeloc.cn" target="_blank">京 feeloc</a>
							</td>
						</tr>
					</tbody>
				</table>
			</div>
		</div>


		<script type="text/javascript">
			var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
			document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
		</script>
		<script src="js/ga.js" type="text/javascript"></script>
		<script type="text/javascript">
			var pageTracker = _gat._getTracker("UA-4430866-1");
			pageTracker._initData();
			pageTracker._trackPageview();
		</script>

		<script language="javascript">
			var cookieEnabled=navigator.cookieEnabled;
			var unav_screen = window.screen.width+' x '+window.screen.height;
			var ureferrer = document.referrer;
			var home = '';
			document.write(home);
		</script>
  </body>
</html>
